;
var test_ops={
    ta:function(){
        this.chart;
    },

    setops:function (res,data) {
        var chart = Highcharts.chart(res, {
            chart: {
                type: 'spline'
            },
            title: {
                text: ' '
            },
            credits: {
                enabled: false
            },
            subtitle: {
                text: ''
            }, 
            xAxis: {
                tickWidth: 0,
                lineWidth: 0,
                gridLineColor: '#eee',
                categories:data.categories,
                crosshair: {
                    width: 1,
                    color: '#ebebeb'
                }
            },
            yAxis: {
                gridLineColor: '#eee',
                gridLineWidth: 1,
                title: ''
            },
            legend: {
                enabled: true,
                align: 'right',
                verticalAlign: 'top',
                x: 0,
                y: -15
            },
            tooltip: {
                backgroundColor: '#404750',
                borderWidth: 0,
                shadow: false,
                headerFormat: '',
                footerFormat: '',
                shared: true,
                useHTML: true,
                style: {
                    color: '#fff',
                    padding: '5px'
                }
            },
            lang: {
                noData: "暂无数据"
            },
            plotOptions: {
                column: {
                    pointPadding: 0.2,
                    pointWidth: 20,
                    borderWidth: 0
                },
                series: {
                    marker: {
                        enabled: false
                    },
                },
                line: {
                    lineWidth: 2,
                    states: {
                        hover: {
                            lineWidth: 2
                        }
                    }
                }
            },
            series: data.series,
        });
    }
}
